home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 October / Chip_2000-10_cd1.bin / zkuste / MacOS / FILES / MailServ.sit / MacMail Server 1.1 / cards.xml < prev    next >
Text File  |  1999-12-04  |  9KB  |  300 lines

  1. card_4257.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4257</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>3983</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3300.css" />
  12.     <content>
  13.         <layer>background</layer>
  14.         <id>1</id>
  15.         <text>Guest</text>
  16.     </content>
  17.     <content>
  18.         <layer>background</layer>
  19.         <id>9</id>
  20.         <text>guest</text>
  21.     </content>
  22.     <name>Guest</name>
  23.     <script></script>
  24. </card>
  25.  
  26.  
  27. card_2107.xml
  28. <?xml version="1.0" encoding="utf-8" ?>
  29. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  30. <card>
  31.     <id>2107</id>
  32.     <filler1>0</filler1>
  33.     <cantDelete> <true /> </cantDelete>
  34.     <showPict> <true /> </showPict>
  35.     <dontSearch> <true /> </dontSearch>
  36.     <owner>3983</owner>
  37.     <link rel="stylesheet" type="text/css" href="stylesheet_3300.css" />
  38.     <content>
  39.         <layer>background</layer>
  40.         <id>1</id>
  41.         <text>Admin</text>
  42.     </content>
  43.     <content>
  44.         <layer>background</layer>
  45.         <id>9</id>
  46.         <text>MacMail</text>
  47.     </content>
  48.     <name>Admin</name>
  49.     <script></script>
  50. </card>
  51.  
  52.  
  53. card_2938.xml
  54. <?xml version="1.0" encoding="utf-8" ?>
  55. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  56. <card>
  57.     <id>2938</id>
  58.     <filler1>0</filler1>
  59.     <bitmap>BMAP_3739.pbm</bitmap>
  60.     <cantDelete> <false /> </cantDelete>
  61.     <showPict> <true /> </showPict>
  62.     <dontSearch> <false /> </dontSearch>
  63.     <owner>2646</owner>
  64.     <link rel="stylesheet" type="text/css" href="stylesheet_3300.css" />
  65.     <part>
  66.         <id>1</id>
  67.         <type>field</type>
  68.         <visible> <true /> </visible>
  69.         <dontWrap> <true /> </dontWrap>
  70.         <dontSearch> <false /> </dontSearch>
  71.         <sharedText> <false /> </sharedText>
  72.         <fixedLineHeight> <false /> </fixedLineHeight>
  73.         <autoTab> <false /> </autoTab>
  74.         <lockText> <true /> </lockText>
  75.         <rect>
  76.             <left>3</left>
  77.             <top>82</top>
  78.             <right>285</right>
  79.             <bottom>210</bottom>
  80.         </rect>
  81.         <style>scrolling</style>
  82.         <autoSelect> <true /> </autoSelect>
  83.         <showLines> <false /> </showLines>
  84.         <wideMargins> <false /> </wideMargins>
  85.         <multipleLines> <false /> </multipleLines>
  86.         <reservedFamily> 0 </reservedFamily>
  87.         <selectedLines>
  88.             <integer>1</integer>
  89.         </selectedLines>
  90.         <textAlign>left</textAlign>
  91.         <font>Chicago</font>
  92.         <textSize>12</textSize>
  93.         <textStyle>plain</textStyle>
  94.         <textHeight>16</textHeight>
  95.         <name>userlist</name>
  96.         <script>on mousedoubleclickwaitcursorgo cd the selectedtext of cd fld "userlist"end mousedoubleclick</script>
  97.     </part>
  98.     <part>
  99.         <id>3</id>
  100.         <type>button</type>
  101.         <visible> <true /> </visible>
  102.         <reserved5> 0 </reserved5>
  103.         <reserved4> 0 </reserved4>
  104.         <reserved3> 0 </reserved3>
  105.         <reserved2> 0 </reserved2>
  106.         <reserved1> 0 </reserved1>
  107.         <enabled> <true /> </enabled>
  108.         <rect>
  109.             <left>6</left>
  110.             <top>45</top>
  111.             <right>53</right>
  112.             <bottom>63</bottom>
  113.         </rect>
  114.         <style>standard</style>
  115.         <showName> <true /> </showName>
  116.         <highlight> <false /> </highlight>
  117.         <autoHighlight> <true /> </autoHighlight>
  118.         <sharedHighlight> <true /> </sharedHighlight>
  119.         <family>0</family>
  120.         <titleWidth>0</titleWidth>
  121.         <icon>0</icon>
  122.         <textAlign>center</textAlign>
  123.         <font>Chicago</font>
  124.         <textSize>12</textSize>
  125.         <textStyle>plain</textStyle>
  126.         <name>Add</name>
  127.         <script>on mouseUpanswer "What type of account?" with "Address" or "Alias"if it is "address" thenanswer program "New username address?"waitcursoradduser itelseask "New username alias?"waitcursoradduser itend ifend mouseUp</script>
  128.     </part>
  129.     <part>
  130.         <id>4</id>
  131.         <type>button</type>
  132.         <visible> <true /> </visible>
  133.         <reserved5> 0 </reserved5>
  134.         <reserved4> 0 </reserved4>
  135.         <reserved3> 0 </reserved3>
  136.         <reserved2> 0 </reserved2>
  137.         <reserved1> 0 </reserved1>
  138.         <enabled> <true /> </enabled>
  139.         <rect>
  140.             <left>125</left>
  141.             <top>45</top>
  142.             <right>176</right>
  143.             <bottom>63</bottom>
  144.         </rect>
  145.         <style>standard</style>
  146.         <showName> <true /> </showName>
  147.         <highlight> <false /> </highlight>
  148.         <autoHighlight> <true /> </autoHighlight>
  149.         <sharedHighlight> <true /> </sharedHighlight>
  150.         <family>0</family>
  151.         <titleWidth>0</titleWidth>
  152.         <icon>0</icon>
  153.         <textAlign>center</textAlign>
  154.         <font>Chicago</font>
  155.         <textSize>12</textSize>
  156.         <textStyle>plain</textStyle>
  157.         <name>Go to</name>
  158.         <script>on mouseUpif the optionkey is down then reset menubarwaitcursorgo cd the selectedtext of cd fld "userlist"end mouseUp</script>
  159.     </part>
  160.     <part>
  161.         <id>6</id>
  162.         <type>button</type>
  163.         <visible> <true /> </visible>
  164.         <reserved5> 0 </reserved5>
  165.         <reserved4> 0 </reserved4>
  166.         <reserved3> 0 </reserved3>
  167.         <reserved2> 0 </reserved2>
  168.         <reserved1> 0 </reserved1>
  169.         <enabled> <true /> </enabled>
  170.         <rect>
  171.             <left>55</left>
  172.             <top>45</top>
  173.             <right>123</right>
  174.             <bottom>63</bottom>
  175.         </rect>
  176.         <style>standard</style>
  177.         <showName> <true /> </showName>
  178.         <highlight> <false /> </highlight>
  179.         <autoHighlight> <true /> </autoHighlight>
  180.         <sharedHighlight> <true /> </sharedHighlight>
  181.         <family>0</family>
  182.         <titleWidth>0</titleWidth>
  183.         <icon>0</icon>
  184.         <textAlign>center</textAlign>
  185.         <font>Chicago</font>
  186.         <textSize>12</textSize>
  187.         <textStyle>plain</textStyle>
  188.         <name>Remove</name>
  189.         <script>on mouseUpanswer "Are you sure?" with "Yes" or "No"waitcursorif it is "no" then exit mouseupdeleteuser the selectedtext of cd fld "userlist", word 2 of the selectedline of cd fld "userlist", serverpass()end mouseUp</script>
  190.     </part>
  191.     <part>
  192.         <id>7</id>
  193.         <type>button</type>
  194.         <visible> <true /> </visible>
  195.         <reserved5> 0 </reserved5>
  196.         <reserved4> 0 </reserved4>
  197.         <reserved3> 0 </reserved3>
  198.         <reserved2> 0 </reserved2>
  199.         <reserved1> 0 </reserved1>
  200.         <enabled> <true /> </enabled>
  201.         <rect>
  202.             <left>253</left>
  203.             <top>1</top>
  204.             <right>287</right>
  205.             <bottom>39</bottom>
  206.         </rect>
  207.         <style>rectangle</style>
  208.         <showName> <false /> </showName>
  209.         <highlight> <false /> </highlight>
  210.         <autoHighlight> <true /> </autoHighlight>
  211.         <sharedHighlight> <true /> </sharedHighlight>
  212.         <family>0</family>
  213.         <titleWidth>0</titleWidth>
  214.         <icon>32462</icon>
  215.         <textAlign>center</textAlign>
  216.         <font>Chicago</font>
  217.         <textSize>12</textSize>
  218.         <textStyle>plain</textStyle>
  219.         <name>about</name>
  220.         <script>on mouseUpanswer "MacMail Server 1.0" & return &┬¼"┬⌐1999 TSS" & return & return &┬¼"http://welcome.to/tss!/" & return &┬¼"kalleboo@yahoo.com"end mouseUp</script>
  221.     </part>
  222.     <part>
  223.         <id>8</id>
  224.         <type>field</type>
  225.         <visible> <true /> </visible>
  226.         <dontWrap> <false /> </dontWrap>
  227.         <dontSearch> <false /> </dontSearch>
  228.         <sharedText> <false /> </sharedText>
  229.         <fixedLineHeight> <true /> </fixedLineHeight>
  230.         <autoTab> <false /> </autoTab>
  231.         <lockText> <false /> </lockText>
  232.         <rect>
  233.             <left>201</left>
  234.             <top>57</top>
  235.             <right>284</right>
  236.             <bottom>71</bottom>
  237.         </rect>
  238.         <style>transparent</style>
  239.         <autoSelect> <false /> </autoSelect>
  240.         <showLines> <true /> </showLines>
  241.         <wideMargins> <false /> </wideMargins>
  242.         <multipleLines> <false /> </multipleLines>
  243.         <reservedFamily> 0 </reservedFamily>
  244.         <titleWidth>0</titleWidth>
  245.         <icon>0</icon>
  246.         <textAlign>left</textAlign>
  247.         <font>Chicago</font>
  248.         <textSize>9</textSize>
  249.         <textStyle>plain</textStyle>
  250.         <textHeight>12</textHeight>
  251.         <name>serverpass</name>
  252.         <script></script>
  253.     </part>
  254.     <part>
  255.         <id>9</id>
  256.         <type>button</type>
  257.         <visible> <true /> </visible>
  258.         <reserved5> 0 </reserved5>
  259.         <reserved4> 0 </reserved4>
  260.         <reserved3> 0 </reserved3>
  261.         <reserved2> 0 </reserved2>
  262.         <reserved1> 0 </reserved1>
  263.         <enabled> <true /> </enabled>
  264.         <rect>
  265.             <left>254</left>
  266.             <top>39</top>
  267.             <right>288</right>
  268.             <bottom>53</bottom>
  269.         </rect>
  270.         <style>transparent</style>
  271.         <showName> <false /> </showName>
  272.         <highlight> <false /> </highlight>
  273.         <autoHighlight> <false /> </autoHighlight>
  274.         <sharedHighlight> <true /> </sharedHighlight>
  275.         <family>0</family>
  276.         <titleWidth>0</titleWidth>
  277.         <icon>0</icon>
  278.         <textAlign>center</textAlign>
  279.         <font>Charcoal</font>
  280.         <textSize>12</textSize>
  281.         <textStyle>plain</textStyle>
  282.         <name></name>
  283.         <script>on mouseUpput "..."put usrpass("admin","KALLfEhB")if the result is not empty then answer the resultend mouseUp</script>
  284.     </part>
  285.     <content>
  286.         <layer>card</layer>
  287.         <id>1</id>
  288.         <text>AdminGuest</text>
  289.     </content>
  290.     <content>
  291.         <layer>card</layer>
  292.         <id>8</id>
  293.         <text>MacMail!</text>
  294.     </content>
  295.     <name>MMSI-main</name>
  296.     <script>function mail paramswaitcursorset the itemdelimiter to "Γêå"if there is not a cd item 2 of params thenreturn "err,11"elseif length(bg fld "waiting" of cd item 2 of params) > 28000 thenreturn "Err,12"elseput params & "Γùè" after bg fld "waiting" of cd item 2 of paramsend ifend ifreturn "OK"end mailfunction mymail username, passwordput username && passwordwaitcursorif there is a cd username thenif password is passwrd(username) thenput empty into char length(bg fld "waiting" of cd username) of bg fld "waiting" of cd usernameput bg fld "waiting" of cd username into returnstuffput empty into bg fld "waiting" of cd usernameelseput "err,13" into returnstuffend ifelseput "Err,11" into returnstuffend ifreturn returnstuffend mymailfunction passwrd usernamewaitcursorif there is a cd username thenreturn bg fld "password" of cd usernameelsereturn "Err,11"end ifend passwrd</script>
  297. </card>
  298.  
  299.  
  300.